<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="<?=domain?>static/style/manage.css" rel="stylesheet" type="text/css" />
<link href="<?=domain?>static/style/fancybox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?=domain?>static/scripts/core.js" charset="utf-8"></script>
<script type="text/javascript" src="<?=domain?>static/scripts/fancybox.js" charset="utf-8"></script>
<script type="text/javascript" src="<?=domain?>static/scripts/manage.js" charset="utf-8"></script>
<title><?=name?></title>
<body>
<div class="boxtitle">编辑成员</div>
<div class="area box">
<form name="edit" method="post" action="<?=domain?>index.php?c=member&a=edit" onsubmit="return RequestPost('edit');">
  	<input type="hidden" name="member" value="<?=$member['id']?>"/>
	<div class="line">
		<div class="w m">成员角色</div>
		<div class="s h select">
			<a href="#"><label><?=$role[$member['role']]['name']?></label><input type="hidden" name="role" value=""/><span></span></a>
	        <ul>
	          <?php
	          foreach($role as $key=>$value){
	          ?>
		   	  <li tab="<?=$value['id']?>"<?=($value['name']==$member['role']?' selected':'')?>><a href="#"><?=$value['name']?></a></li>
			  <?php
			  }
	          ?>
		   	</ul>
		</div>
		<div class="e c"><font color="red">*</font>,成员属角色.</div>
	</div>
	<div class="line">
		<div class="w m">登陆邮箱</div>
		<div class="s h"><input type="text" name="user" value="<?=$member['user']?>" maxlength="16"/></div>
		<div class="e c"><font color="red">*</font>,登陆邮箱.</div>
	</div>
	<div class="line">
		<div class="w m">登陆密码</div>
		<div class="s h"><input type="text" name="password" value="<?=$member['password']?>" maxlength="18"/></div>
		<div class="e c"><font color="red">*</font>,登陆时使用的密码.</div>
	</div>
</div>
<div class="boxbu">
	<input type="submit" name="save" value="确定" class="yellow"/>
</div>
</form>
</body>
</html>